﻿<%@ Page Language="C#" AutoEventWireup="true" MasterPageFile="~/Secure/Workflow.Master" CodeBehind="InteractionAdd.aspx.cs" Inherits="AllenNeighborhood.NeighborEdit" %>

<asp:Content ID="Head" ContentPlaceHolderID="HeadContainer" runat="server" />
<asp:Content ID="Header" ContentPlaceHolderID="HeaderContainer" runat="server"></asp:Content>

<asp:Content ID="Content" ContentPlaceHolderID="ContentContainer" runat="server">
    Add Interaction<br />
    <br />
    Type:<br />
    <asp:DropDownList ID="InteractionTypeDropDown" runat="server" />
    <br />
    Mode:<br />
    <asp:DropDownList ID="InteractionModeDropDown" runat="server" />
    <br />
    Date:<br />
    <asp:TextBox ID="InteractionDateTextBox" runat="server" />
    <br />
    Note:<br />
    <asp:TextBox ID="NoteTextBox" runat="server" />
    <br />
    <asp:Repeater ID="TopicsRepeater" EnableViewState="true" OnItemDataBound="TopicsRepeater_ItemDataBound" runat="server">
        <HeaderTemplate>
            <table>
                <tr>
                    <td><h4>Interactions</h4></td>
                    <td style="text-align: center; width: 110px;"><h4>Info Provided</h4></td>
                    <td style="text-align: center; width: 110px;"><h4>Follow-Up?</h4></td>
                </tr>
        </HeaderTemplate>
        <ItemTemplate>
            <tr>
                <td>
                    <asp:HiddenField ID="InteractionTopicID" runat="server" />
                    <%# DataBinder.Eval(Container.DataItem, "Name") %>
                </td>
                <td>
                    <center><asp:CheckBox ID="InfoCheckBox" runat="server" /></center>
                </td>
                <td>
                    <center><asp:CheckBox ID="FollowUpCheckBox" runat="server" /></center>
                </td>
            </tr>
        </ItemTemplate>
        <FooterTemplate>
            </table>
        </FooterTemplate>
    </asp:Repeater>
    <br />
    <asp:Button ID="SaveButton" runat="server" Text="Save" OnClick="SaveButton_Click" />
</asp:Content>

<asp:Content ID="Footer" ContentPlaceHolderID="FooterContainer" runat="server"></asp:Content>